package com.example.springLearning.part6.service;

import org.springframework.stereotype.Component;

@Component
public class FixedLightMgrService1 {

    private LightService lightService;

    public FixedLightMgrService1(LightService lightService) {
        this.lightService = lightService;
        lightService.check();
    }
}
